﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="NhaDatHome.ascx.cs"
    Inherits="BatDongSan.Ucs.NhaDatHome" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<div>
    <cc1:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0">
        <cc1:TabPanel runat="server" HeaderText="Cần bán" ID="TabPanel1">
            <ContentTemplate>
            <asp:DataList ID="dtlNhaDatBan" runat="server" OnItemDataBound="dtlNhaDatBan_ItemDataBound">
                <ItemTemplate>
                    <table border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td colspan="2" style="padding-bottom: 5px; padding-top: 10px;">
                                <div>
                                    <asp:HyperLink ID="hplTitle" runat="server" ForeColor="#0F94D7" Font-Bold="true"></asp:HyperLink>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td style="padding-right: 15px; padding-bottom: 10px; border-bottom: 1px dotted #A7A7A7;"
                                valign="top">
                                <div style="width: 110px; height: 80px; overflow: hidden;">
                                    <asp:HyperLink ID="hplImg" runat="server"></asp:HyperLink>
                                </div>
                            </td>
                            <td style="line-height:20px; padding-bottom:10px; border-bottom:1px dotted #A7A7A7; text-align:justify;" valign="top">
                                <asp:Label ID="lbDateBegin" runat="server"  ForeColor="#A7A7A7"></asp:Label><br />
                                <asp:Label ID="lbDescription" runat="server" ForeColor="#484848"></asp:Label><br />
                                <span style="color:#484848;">Giá: </span><asp:Label ID="lbPrice" runat="server" ForeColor="#AC472B" Font-Bold="true"></asp:Label>
                                <span style="color:#484848;">&nbsp;&nbsp; Diện tích: </span><asp:Label ID="lbArea" runat="server" ForeColor="#AC472B" Font-Bold="true"></asp:Label>
                                <span style="color:#484848;">&nbsp;&nbsp; Quận / Huyện : </span><asp:Label ID="lbProvince" runat="server" ForeColor="#AC472B" Font-Bold="true"></asp:Label>
                            </td>
                        </tr>
                    </table>
                </ItemTemplate>                
            </asp:DataList>
            </ContentTemplate>
        </cc1:TabPanel>
        <cc1:TabPanel ID="TabPanel2" runat="server" HeaderText="Nhà đất cho thuê">
            <ContentTemplate>
            <asp:DataList ID="dtlNhaDatChoThue" runat="server" OnItemDataBound="dtlNhaDatChoThue_ItemDataBound">
                <ItemTemplate>
                    <table border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td colspan="2" style="padding-bottom: 5px; padding-top: 10px;">
                                <div>
                                    <asp:HyperLink ID="hplTitle" runat="server" ForeColor="#0F94D7" Font-Bold="true"></asp:HyperLink>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td style="padding-right: 15px; padding-bottom: 10px; border-bottom: 1px dotted #A7A7A7;"
                                valign="top">
                                <div style="width: 110px; height: 80px; overflow: hidden;">
                                    <asp:HyperLink ID="hplImg" runat="server"></asp:HyperLink>
                                </div>
                            </td>
                            <td style="line-height: 20px; padding-bottom: 10px; border-bottom: 1px dotted #A7A7A7;"
                                valign="top">
                                <asp:Label ID="lbDateBegin" runat="server" ForeColor="#A7A7A7"></asp:Label><br />
                                <asp:Label ID="lbDescription" runat="server" ForeColor="#484848"></asp:Label><br />
                                <span style="font-weight: bold; color: #484848;">Giá:</span><asp:Label ID="lbPrice"
                                    runat="server" ForeColor="#484848"></asp:Label>
                                <span style="font-weight: bold; color: #484848;">Diện tích:</span><asp:Label ID="lbArea"
                                    runat="server" ForeColor="#484848"></asp:Label>
                                <span style="font-weight: bold; color: #484848;">Quận / Huyện:</span><asp:Label ID="lbProvince"
                                    runat="server" ForeColor="#484848"></asp:Label>
                            </td>
                        </tr>
                    </table>
                </ItemTemplate>
            </asp:DataList>
            </ContentTemplate>
        </cc1:TabPanel>
    </cc1:TabContainer>
</div>
